package com.example.child_protection.dto.request.find;

import com.example.child_protection.dto.base.BaseRequestDTO;
import com.example.child_protection.enums.SexEnums;
import com.example.child_protection.enums.UserStatesEnums;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 用户信息查询请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class CkeckUserNameRequestDTO extends BaseRequestDTO {
    /**
     * 用户名/账号
     *
     * @mbggenerated
     */
    @NotNull
    private String userName;

    public void valid(){

        super.validate( this, new Class[0] );
    }
    public boolean isValidGid() {

        return false;
    }

}
